package com.example.personnel_oa.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.comment_oa.pojos.Offer;
import org.apache.ibatis.annotations.Mapper;

/**
* @author HEYONG
* @description 针对表【offer】的数据库操作Mapper
* @createDate 2022-12-20 21:15:20
* @Entity com/example/personnel_oa.domain.Offer
*/
@Mapper
public interface OfferMapper extends BaseMapper<Offer> {

    //点击发送按钮查询是否有offer数据
    Offer chaOffer(int talentsId);
    //新增offer数据
    int addOffer(Offer offer);
    //发送offer
    int upOffer(Offer offer);

}
